package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 小红书货款明细导入VO
* </p>
*
* @author huangrensen
* @since 2024-07-02
*/
@Schema
@Data
public class XhsSaleDetailImportVo implements Serializable {
    @ExcelProperty(value = "创建时间")
    private String billCreateTime;
    @ExcelProperty(value = "交易类型描述")
    private String tradeType;
    @ExcelProperty(value = "收入（元）")
    private String incomeAmount;
    @ExcelProperty(value = "支出（元）")
    private String payAmount;
    @ExcelProperty(value = "账户余额（元）")
    private String balanceAmount;
    @ExcelProperty(value = "业务单号")
    private String businessNo;
    @ExcelProperty(value = "备注")
    private String remark;

    @ExcelIgnore
    private String billMonth;

    @ExcelIgnore
    private String uuid;

    @ExcelIgnore
    private Long storeId;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("创建时间", "billCreateTime");
        map.put("交易类型描述", "tradeType");
        map.put("收入（元）", "incomeAmount");
        map.put("支出（元）", "payAmount");
        map.put("账户余额（元）", "balanceAmount");
        map.put("业务单号", "businessNo");
        map.put("备注", "remark");
        return map;
    }
}
